#ifndef _SpecialStr_H_
#define _SpecialStr_H_
#include "Object.h"
#include "OString.h"

class SpecialStr: public Object
{
public:
    SpecialStr(const OString & strp, int beginLinep, int beginColp):
        Object(),
        str(strp),
        beginLine(beginLinep),
        beginCol(beginColp)
    {
    }
    virtual ~SpecialStr()
    {
    }

    QString toString()
    {
        return str;
    }

    int getBeginCol()
    {
        return beginCol;
    }

    int getBeginLine()
    {
        return beginLine;
    }
public:
    OString str;
    int beginLine;
    int beginCol;
};

typedef QSharedPointer<SpecialStr> SpecialStrPtr;
#endif
